Add serverVars.staticRoot, minor cleanup to common.js
Fix static links, make html pretty