Add cohorts javascript
Experiment (may need to revert)