readded index.html and logic.js changes