remove old stuff
fixed handlebars and js on edit