Resolve jshint warnings