<shameless plug>
That's exactly what I thought and that's why SockJS is there: https://github.com/sockjs/sockjs-client
a) start using SockJS
b) wait until enough browsers supports it
c) drop SockJS.
SockJS has a websocket-like API so no need to do major code changes when you switch.</shameless plug>