some first work for javascript code generation
Merge branch 'master' of https://github.com/agrafix/HSmarty

Conflicts:
	HSmarty.cabal