XSS Attacks: Cross Site Scripting Exploits and Defense