Initial import of the asm.js demo.
Make it work in all browsers.