fix the template js path