adding phonegap ready alert for to know if is running phonegap or not