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