added some styling to the page and added javascript