- Try to make onDeviceReady function