JavaScript library for performance measurement