Added support for asm.js