How to build a realtime application with Node.js and RethinkDB