Update extras.php

Add browser classes support