Navigator useragent detect
http://www.jquery4u.com/mobile-devices/navigator-useragent-mobiles-including-ipad/