fixed jshint error #19