support coroutine

valid asm.js

better test case for coroutine

coding style

fix asm.js