add library_async.js

For kripken/emscripten-fastcomp#39

Actually yes, e.g. `emscripten_sleep` is outside the scope, and we need to set the flag there.