CAS-1277: Improve JS console logging support for older browsers, i.e IE8

Also, update JQuery versions used.