Doc: Code documentation in helpers.js