Update w2grid.js

small transition.
Merge pull request #260 from fungms/patch-8

Update w2grid.js