some changes in demo1 (added index.html, build.js), configure nodeunit,
time to create some tests before will move forward, tidy up a bit