Tidying up the webperf-monitor tools JS