Fix typo in code. Rename wairForEvent to waitForEvent.
Fix typo in code. Rename wairForEvent to waitForEvent.

thaliproject/Thali_CordovaPlugin,thaliproject/Thali_CordovaPlugin,thaliproject/Thali_CordovaPlugin,thaliproject/Thali_CordovaPlugin,thaliproject/Thali_CordovaPlugin