Every medium or large game should compile asm.js code as part of an async script to give the browser the maximum flexibility to optimize the compilation process.