BZ-11967 JSHint fix