logging editor changes to the console
cleaned up js; added a buffer before sending changes to server
switching code to go