Updated code documentation

Allows generating a proper documentation using JSDuck.
(A custom JSDuck tag class for "licence" tag should be applied upon generation.)
I don't think the bit about a `MultiTermMap ` is correct.