Change post-after color in the javascript