21. A system for restoring web pages, comprising: a root node identifier, implemented on a computing device and configured to: identify a root node of a node graph based on a scripting language object list remaining after garbage collection of a scripting language heap of a web page, wherein each node of the node graph represents an object of a plurality of objects that form a last state of the web page, wherein the plurality of objects includes at least one scripting language object that refers to a document object model (DOM) object; traverse the node graph to a next frontier node; determine an object identifier of the next frontier node; and an object queue builder, implemented on the computing device and configured to store the object identifier and object properties associated with the object identified by the object identifier into a queue of objects when the object identifier of the next frontier node is not found in the queue of objects, whereby the queue of objects is used to restore objects with object properties having values according to the last state of the web page.
21. A system for restoring web pages, comprising: a root node identifier, implemented on a computing device and configured to: identify a root node of a node graph based on a scripting language object list remaining after garbage collection of a scripting language heap of a web page, wherein each node of the node graph represents an object of a plurality of objects that form a last state of the web page, wherein the plurality of objects includes at least one scripting language object that refers to a document object model (DOM) object; traverse the node graph to a next frontier node; determine an object identifier of the next frontier node; and an object queue builder, implemented on the computing device and configured to store the object identifier and object properties associated with the object identified by the object identifier into a queue of objects when the object identifier of the next frontier node is not found in the queue of objects, whereby the queue of objects is used to restore objects with object properties having values according to the last state of the web page. 22. The system of claim 21 , wherein the object queue builder is further configured to store transient rendering-related visual properties to DOM elements as temporary attributes.