Grid error on $destroy

Check to make sure that the grid.$root is not undefined when removing
DOM elements