Fixed support for hex colors in JS files

Not sure why this was left out, but since all values has been parsed with `parseInt`, it converted colors like *#BEBEBE" to NaN, respectively to null in resulting JS file.

I have updated tests and everything works nicely.