Performance testing tool for JavaScript applications