corrected event "deviceready"