Javascript Create Async Function Syntax Matlab For Engineers