Updated code documentation

Allows generating a proper documentation using JSDuck.
(A custom JSDuck tag class for "licence" tag should be applied upon generation.)
http://usejsdoc.org/tags-namespace.html