edits to js and html