Zepto-like OS detection for jQuery