Simple performance measurement tool for javascript