public String ToJavascriptSource(bool includeState)
 {
     return(JSONHelper.WriteJSON <dynamic>(GetJSONObject(includeState)));
 }