minor logic improvement + kill old /etc/statsd.js