Update rich.grid.js

Fixed .inarray issue .. made it more flexible with grep