Fixes of jshint errors