fix asm.js heap size calculation
update build