Trying to fix #2552

https://github.com/ivaynberg/select2/issues/2552

But needs jquery.actual library.