fix javascript color syntax