assign window.jQuery if $ is undefined (this is to solve the jQuery
incompatibility issue on frontpage of IMPC which uses diff. version of
jQuery)