Clean up jshint warnings.
Fixed proxy unit tests.