Main.js deleted
templates fixed