Optimizing JavaScript Performance for Optimal Web App Effectiveness