JSXTransformer respects async attribute

Implemented according to #1823
Verified with `setTimeout` in `load`.
I was imagining that it's loaded if `content != null` or if `error`, but you could also store `loaded` (maybe instead of `error`)?