Try to optimize JavaScript.