Documentation: generate_grid.js first draft completed.