Compatiblity fixes with new near-duplicate detection api in Crawljax