Update select2.js

Adding CommonJS support
Wouldn't you add a `require('jquery')` here to get the value for `$`?