Fixing bug where jquery module expects gridList to be defined on window

It doesn't need to be defined if requirejs is used.