Fix the javascript folder in template