add library_async.js

For kripken/emscripten-fastcomp#39

I've removed the `#if` clause, now we always call `ams['setAsync']()` to set the async flag, but it seems ugly to me.