I am doing compressing of JavaScript files and the compressor is complaining that my files have  character in them.

How can I search for these cha
I'm suggest the use of "dos2unix" tool, please test to run dos2unix ./thefile.js.
dos2unix ./thefile.js
If necessary try to use something like this for multiple files:
for x in $(find . -type f -exec echo {} +); do dos2unix $x ; done
My Regards.