retitled the page
moved scripts to a js file