In the destroy function in Grid.js, there is a line:

Code:
if(this.loadMask){
      this.loadMask.destory();
}
If you notice, the destroy() call is spelled destory().