Rails4 + MongoDB + Devise + RequireJS + EmberJS