Added cordova js file which made deviceready event available