Added all Javascript to index.html