suppress validthis rule in jshint

since eslint is able to determine that properly we can safely ignore it
here.
fix linter errors