restores earlier location of js template call