MemoryContentCache: Added the JavaScript API.