Updating webworksready event to deviceready