Creating Secure JavaScript and jQuery Code