updates to metrics parsing daemon, as well as a cleanup to plotting JS