JavaScript is the front-end of the entire internet. Because JavaScript is so prolific, it’s a prime target for attackers.