update to both the javascript and jquery