testing different onDeviceReady