Fixes and improvements in the XSS examples