Fixed issue with warning thrown by Cordova for iOS. writeJavascript is deprecated in Cordova 4.0.0
Merge pull request #45 from vkeepe/master

Fixed issue with warning thrown in Cordova 4.0.0 for iOS.