add window.jQuery !== undefined