move code from application.hbs to index.hbs