detect malicious javascript on ecommerce site