Pass 'undefined' arguments from javascript to ObjC as nil, conforming specs.