Update w2grid.js

small transition.
Merge pull request #259 from fungms/patch-7

Update w2grid.js