Update Index.html

* Added pretty comments to the javascript code
* Added support for tile shifting the entire grid