How to Reduce JavaScript Execution Time