Remove boilerplate onDeviceReady