attempting to use asm.js to get a performance boost