Update js/grid.base.js

simplifying of `getOffset` function. Removing dependence from `cellLayout` and `$.jgrid.cellWidth`.