fixed failing jshint validation