jQuery Detection

Better solution: