add notes to index.js