Barebones messenger using AJAX and Node.js