attempt to henerate asyncExecScript API call