Help
initialize
Initializes the DEJS_API object and starts a timer that regularly pings the server to prevent the authentication cookie from expiring. This method is synchronous. You must call this method before calling any other DEJS_API method. We recommend that you call it in the window's onload function.
Syntax
initialize() : Boolean
Returns
True on success, otherwise false.
Example
This example initializes a DEJS_API object.
window.onload = function() {
  var result = DEJS_API.initialize();
  if (!result) {
    alert("DEJS_API failed to initialize!");
  }
}