created js folder and main.js file
modified index.html to link main.js and added charset meta