code linted with jshint
Merge pull request #26 from kmpm/linting

code linted with jshint
forgot to clean up trailing whitespace
Merge pull request #27 from kmpm/linting

forgot to clean up trailing whitespace