javascript performance: finish