Update rich.grid.js

Using $jquery trim method instead of externally referenced lib