add path to script to get to js template