Merge pull request #11 from szymonkaliski/master

fixes for jshint errors