Fixed issue with warning thrown in Cordova 4.0.0 for iOS.

Getting warning with new Cordova 4.0.0 on iOS. writeJavascript is deprecated in Cordova 4.0.0.