Detect jQuery version

Fixes #121 
Perhaps we should use a CDN here instead? Doesn't seem worth another copy of jQuery just for one test, IMHO.