Added grid-state.js to index.html