Added Selection in FireFox

Using selectionStart / selectionEnd instead of getSelection().

- Get selection was only supported in chrome!