Merge pull request #19 from alexey-martynov/master

Refactor format of teh compiled Javascript templates.