Web.js for hm3