finally got socket in the browser