code cleanup: add semicolons
code cleanup: declare that var
code cleanup: more small changes to appease jslint
code cleanup: make regular expressions specific

- these regexes should match the same strings as 
  before, but without using ‘.’ so jslint won’t complain 
  about them being ‘dangerous’
Merge pull request #87 from codeforamerica/chore/code-cleanup

code cleanup