Algorithm for the callback function of the threshold slider
Removed the hashes and minDuplicateDistance from the json

They are not  necessary anymore.