javascript iperf cli + other cleanups