Modified check-format.js (no color format errors)