removed function defines in iNative.js