Possibly better way to rebuild selections.
Work
Merge pull request #7 from zgohr/sockjs

Possibly better way to rebuild selections.