Seperate Websocket Server in to a file js