freedom.js module for anonymized metric collection