Link fix in index.html and tweaks to main.js