improved select2 cross-browser support