Fix jsHint errors
Merge pull request #16 from andrerod/fix_jshint

Fix jshint errors