window.App = Models: {} Collections: {} Routers: {} Views: {} $ -> new App.Routers.Router # Enable pushState for compatible browsers enablePushState = true # Disable for older browsers pushState = !!(enablePushState && window.history && window.history.pushState) Backbone.history.start({ pushState: pushState })