update hexgrid_impl.js