Make NamedRoutes work if Backbone is exported as AMD module.