added js for textcolor change