Chat site using node, preprocessing