move all js into the js file from the html