Fix some jslint warnings
Merge pull request #94 from bwestlin/cleanup

Fix some jslint warnings