(hopefully) support browsers without websockets