Added select2 support if it is available