Yeah, I am not very happy aboud having to change  the duplicated code either.

But since I want gjslint to pass with no errors, and there is not JSDoc directive to turn off checking, there is only one option left - move the duplicated code to a new file and modify `tools/gjslint.sh` to exclude that file from checking.

It seemed like an overkill to me, but I am happy do it if anybody think it's worth it.