added partially succeeded color, moved to js file