Additional code documentation in index.js