Moved the creation of a new grid object to index.html