Moved select2 library, added a shim to ensure that the jQuery variable is available.