improved debug jshint