Remove Apigee from deviceReady function