removed undefined and thus noop callbacks from postmessage nativecall