Save window.getSelection

Some sites *cough*dokuwiki*cough* use a global getSelection function
which overrides the window.getSelection method. However broken, this is
unfortunately the way of the world :( .
Return the result of selecting the element
Remove rogue conflict marker