removing js template. Closes #533