Adding protection to location bounces to stop potential XSS vulnerabilities