Update browser.php

Browser class is updated to its latest version
The variables written in capital letters are now constants, as it should be
No check if wordpress is running, as nothing executes in this file