Error handling

Catch almost all loading errors in AsyncJS callback.