Check comma also on colors

Colors appears immediately after comma in `*-gradient()`.
Use appropriate variable name
Update test case for color
Use `.jshintrc`
Cache anonymous functions