js-x-ray: static analysis of detecting most common malicious patterns