Added HTMLElement.prototype.restoreSelections