Flatten cell coordinates and use a single obj, instead of a nested grid.
Compile with the Google Closure compiler.