use intel.xdk.device.ready instead of appMobi