Replace jQuery calls in compatible with jQuery code

Quick fix to stop browser warnings about deprecated and now removed jQuery browser detection, by using the deprecated detection code.  As described in #63 .