added init event for pages signaling websocket is ready to use