Adopt custom elements API in perf dashboard