DHTMLX schedule integration with data returned by rails