5. The method of claim 4 , wherein document object model (DOM) window objects are mapped using a tree structure.
5. The method of claim 4 , wherein document object model (DOM) window objects are mapped using a tree structure. 6. The method of claim 5 , wherein the wrapper layer supports a one-to-one mapping of native objects and wrapper objects.