fix asm.js validation