JSHint fixes to ensure code compiles well.
Merge pull request #9 from kylewelsby/master

Ensure code is Linted