updates index.html and results.js