Update server.js

make it ready for more demos