removed js from templates