JS module for communicating with statsd-proxy from the browser