NSString+HTML + catch possible DOMException in localizeProperties