Documentation: update generate_grid.js documentation.