update readme
bugfix - better detection of browser environment