Uncommented next function in whitelist.js