Update elastic_grid.js