major updates to js and html.