A simple javascript library for working with 2D arrays as grids