s [0,6) slice to
         * throw away the end of the URL to construct Jenkins job URL. We
         * need to do this since the URL path element jenkin{s|p|x} varies
         * on different archs.
         */
        var jenkins_report_url = window.location.href.split("/");
        var jenkins_job_url = jenkins_report_url.slice(0,6).join("/") + "/";

	/* Data for failed llvm-project commit */
	var failed = [ flattenJSON(logdata.next_state.recent.failed[0]) ];
	var failed_build = logdata.next_state.recent.fa