Fixes to datagridwidget_patches.js