Add base html, rename dom.js to doc.js
fix bootstrap styling