removes useless code from full_view.hbs template