Javascript Async Not A Function Graph