PHP-initiated, JS-maintained dynamic item colors