Update select2.js

Adding CommonJS support
Thanks!