DEPRECATED: The DOM manipulation APIs were included in the PubNub version 3 JavaScript SDKs but are part of the new v4 JavaScript SDKs.