Changes to js and added buttons in html.