exports._getSelection = function() { return window.getSelection() || null; };