Cleaned up JS on index.html