Fixed websockets stuff.
Merge remote-tracking branch 'origin/single_page' into single_page