function recursivelyCopyProperties(object) {
    var copy = {};
    var hasProperties = false;
    for (var key in object) {
      var property = object[key];
      if (typeof property == 'object' || typeof property == 'function') {
        property = recursivelyCopyProperties(property);
      }
      if (typeof property != 'undefined') {
        copy[key] = property;
        hasProperties = true;
      }
    }
    return hasProperties ? copy : undefined;
  }
Initializes the o3djs.sample library.
Basically all it does is record the o3djs.namespace object which is used by
other functions to look up o3d constants.

@param {!Element} clientObject O3D.Plugin Object.