Changed the method to check if jQuery has already been included on page.