1. A method for obfuscating javascript code in a webpage, the method implemented by a network traffic management system, the method comprising: obtaining a webpage requested by a client from a server of a plurality of servers, where the server is selected from the plurality of servers based a load balancing decision; determining when javascript code is in source code of the obtained webpage; obtaining a stored obfuscated javascript code when the javascript code is determined to be in the source code of the obtained webpage; embedding the obtained obfuscated javascript code into the obtained webpage and sending the obtained webpage with the embedded obfuscated javascript code to the requesting client, or wherein the obtained webpage is sent to the requesting client without embedding the obtained obfuscated javascript code when the javascript code is determined to be absent in the source code of the obtained webpage; receiving an alert message from the requesting client when the embedded obfuscated javascript code is tampered with, when the obtained webpage is transmitted with the obfuscated javascript, wherein the receiving further comprises sending the received alert message to an alert server.