set up directory structure, index.html and script.js files