finished HTML and JS