Detect jQuery version

Fixes #121 
* Use a constant for the jQuery version number.
* Use the constant when including the version number in the error messages