Removing the possibility of browser crash