Browser sample update: use Text as separate class with respect of localizations support.