Replaced React with raw DOM manipulation