update HTML and JS files