ignore window.getSelection() failure

e.g. http://cilvr.cs.nyu.edu/doku.php?id=deeplearning:slides:start
redefines window.getSelection() so that an attempt to get selection
fails as follows
Uncaught TypeError: Cannot read property 'value' of undefined