Updated server.js to be a working example

Changes in express, nodelive api.