javascript 2d arrays are weird. save feature temporarily broken