Update main.js and script tag in HTML.