Added bold and italic style for text nodes
Added spinner while loading document