Update html2js.js

Added define wrapper to TEMPLATE