Fixed a couple of XSS vulnerabilities.