add jsperf for dom class