Fix jshint error wrt undeclared addComment global