Update grid ajax load

A couple fixes to the grid ajax load