working version of index.html and main.js, had 2 ids conflicting page id name and email and form input id name and email, FIXED