Change permissions of generated templates.js so it is readable by lighttpd