Add CaptureClicks to index.js