Uncaught query for select error

This line causes a script break on page, as referred here:

http://stackoverflow.com/questions/14483348/query-function-not-defined-for-select2-undefined-error

And this is the fix for that error.