Had the same problem with my local installation and viewing with Firefox. Until I noticed that it was working when viewed with Chrome, which made me realize it's Firefox's strict origin policy that prevents the template script from loading, because you're trying to access the script from your hard drive. You can disable the strict origin policy in Firefox's about:config for local testing. When running limesurvey on a server you will not get this problem.