Update definegrid.js