Solve problems found by jshint
Merge pull request #8 from semion1956/master

Fix jshint issues