tidied up a bit with JSHint
Merge pull request #5 from mcandre/master

Cleaned up with JSHint