1. A method for optimizing read/write access to a document object model in a web browser, the method comprising: detecting, by one or more computer processors, one or more accesses to a first data structure of a document object model; determining, based on the detected one or more accesses, by the one or more computer processors, whether the first data structure is a highly dynamic part of the document object model; responsive to determining the first data structure is a highly dynamic part of the document object model, triggering, by the one or more computer processors, a conversion of the first data structure to an access optimized data structure; and converting, by the one or more computer processors, the first data structure to an access optimized data structure.