Optimizing code in html and js. Added .gitignore for local files that needn't be uploaded.