Javascript Call Async Function From Onclick