A wrapper object is created and used for accessing external storage where, for example, script sources and other content that is received from the Web is stored, rather than copied onto the VM heap.Memory for new JavaScript objects is allocated from a dedicated JavaScript heap (or VM heap).