Fixed socket url in clientside js.