Changed onopen websocket event in register fake operation in push.js