iOS 7 detection and removed console log