Fixed parsing publish packets in the browser.