Added code for jquery to load after the DOM is loaded