Switched mobile app to jquery mobile, added CORS headers