docs(helpers.js): Add comments to helper methods