Remove unnecesary Javascript from index.html