Create hmjs.js