Using SockJS when generating browser version

Change-Id: I3848946a35852d01f6f2702c103b6758457ffa84