Javascript Return Error From Async Function Syntax