minor updates

[router.js] neatened file names so there isn't double-slash
[server.js] somewhat better error handling
[index.html] added a trivial html document