phonegap check if Android or iOS