use yepnope on checking window.JQuery