this hopefully removes some future confusion about the tests also moved some graph stuff into js/common as client-side graphs did not fully work make logfile path accessible