Improve XSS filtering