update jquery for the loggedout area and adjusted the way many of the js files are loaded