serous memory leak problem solved parcially, need to fix jscolor