[Working] main.html, main.js