Update init.js

you can select the dimension of the grid