IE and compat mode :/

Fixed 2 minor typos which prevent select2 to work in IE compat mode.
Merge pull request #2591 from gsirin/patch-1

IE and compat mode :/