adding comments to vanilla.js