HTML encode example JavaScript snippet.