Got rid of window.serverSend function