Updated Cordova 2.7, App ID
added check for simulator