fading colours javascript