A fixed size 2D array in javascript