slight update in html and frontend.js