Update HPM2Javascript