Revert e86e9df4a066c2da5735e988aa804a47bf3fb0ae because select2 3.4.5 seems to have fixed their regression and the previous version is much simpler