Browser Detection + Apply Classes to HTML Element