Javascript Call Async Function Without Inverse Tangent