Updated code documentation

Allows generating a proper documentation using JSDuck.
(A custom JSDuck tag class for "licence" tag should be applied upon generation.)