fix BrowserID support to fix #18