Javascript Create Async Function Python Parameters Default