Make the JavaScript resources lighter.