(feat) separate index.html, create js and css files

refactor index.html. create new files, map.js and styles.css and moved code there.