jQuery: cater for jQuery.clientSideLogging

I haven't looked in detail at this but it looks that
jQuery.clientSideLogging is ill-advisedly clobbering ```$.error```.
This should probable be addressed at some point.