/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="layout"></param>
		public JsObject(ScriptLayout layout)
			: base(layout)
		{
			Properties = new JsPropertyList();
		}
		/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="items"></param>
		public JsObject(params object[] items)
		{
			Properties = new JsPropertyList(items);
		}
		/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="list"></param>
		public JsObject(JsPropertyList list)
		{
			Properties = list;
		}
		/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="properties"></param>
        public JsObject(IEnumerable<object> properties)
		{
			Properties = new JsPropertyList(properties);
		}
		/// <summary>
		/// create an empty object
		/// {}
		/// </summary>
		public JsObject() 
		{
			Properties = new JsPropertyList();
		}
		/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="layout"></param>
		/// <param name="list"></param>
		public JsObject(ScriptLayout layout, JsPropertyList list)
			: base(layout)
		{
			Properties = list;
		}
		/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="layout"></param>
		/// <param name="items"></param>
		public JsObject(ScriptLayout layout, params object[] items)
			: base(layout)
		{
			Properties = new JsPropertyList(items);
		}
		/// <summary>
		/// create an object with properties
		/// {name: value, name: value, name: value}
		/// </summary>
		/// <param name="layout"></param>
		/// <param name="items"></param>
		public JsObject(ScriptLayout layout, IEnumerable<object> items)
			: base(layout)
		{
			Properties = new JsPropertyList(items);
		}