Compress html templates and add --script in hcomp.sh

- Compressing html templates before compiling them saves us about 24Kbs at this point in time.
- For debugging purposes, the --script flag was added into hcomp.sh to generate only the 
javascript to require templates (because compiling templates takes a lot of time)