Improved nodejs server for the demo pages.