Update market_cap.php

Better use of DOM traversing