more fixes to index.html and removing unused js