fix file and color input js