Improvements in code refactoring for jqGrid support.