/// <summary>
        /// Add a dynamic javascript property to this object.
        /// </summary>
        public JSDynamicProperty AddDynamicProperty(string propertyName, JSInvokeMode invokeMode)
        {
            var p = new JSDynamicProperty(invokeMode);

            Add(propertyName, p);
            return(p);
        }
        /// <summary>
        /// Add a dynamic javascript property to this object.
        /// </summary>
        public JSDynamicProperty AddDynamicProperty(string propertyName)
        {
            var p = new JSDynamicProperty();

            Add(propertyName, p);
            return(p);
        }