fix an issue after upgrading jquery version with getting select2 option text value