Fixed lint errors
Merge pull request #24 from iangilman/jshint

Fixed lint errors