More asm.js fixes