Fixed #47: `preventSelect` option throws error on IE 6-8