fix(js): Fix JSHint errors/warnings
Merge pull request #70 from Eluinhost/fix/jshint

fix(js): Fix JSHint errors/warnings