change JSFunctionWrapper arguments