Move Ember code into index.hbs.