Update html2js.js

Added option for customProvider