Merge collapsible list code into index.js