Resolve JS hint errors

Minor touch up so it passes validation
Merge pull request #15 from pchhetri/master

Resolve JS hint errors