support async functions in es6 detection