index.js: Use contains-generator