Implemented AJAX->Node.js->file state storage