Adjusting to work properly with Ember.js