@classmethod
def registerExtraObject(cls, name, jsObject):
    """
        Class method to register extra JavaScript objects.
        
        @param name name for the object
        @type str
        @param jsObject reference to the JavaScript object to be registered
        @type QObject
        """
    cls.extraObjects[id] = jsObject
