fix jshint, fixes #2