Update html2js.js

replacing all the module encapsulation with "var tpl = "...