Typescript Async Await Exception Handling In Javascript