Added main.js and linked it to HTML.