Replace control characters with numbers

In this commit I complete fixing all the JSHint warnings
that I could fix. Two more files have control characters
the use of which is unclear, so I added comments to them.