added support for old ie getSelection