insert button test, used jsPerf code