Add _quitNative.quit() javascript function