JavaScript Security Vulnerabilities Tutorial – With Code Examples