Fixed errors according the jshint
Merge pull request #20 from porsa/jshint-fixes

Fixed errors according the jshint