Update select2.js

Adding CommonJS support
Please ignore this PR. I'll create new one with new changes soon.