Compatibility with jquery 1.7 and jquery-ui 1.8

I've not tested this change with different versions of jquery and jquery-ui than jquery 1.7 and jquery- 1.8
Without this change jqgrid appear with a modal un-clickable surface except rows