code cleanup

Small code tweaks so  jslint / sublime-jslint / codeclimate.com are happier and the code is better.

See also: https://codeclimate.com/github/codeforamerica/MuniciPal/compare/chore/code-cleanup