Refactor Ember asset loading.