hack for asm.js