Simplify `p.W` function
make `gridInner` a jquery object