added doc to index.js and html, fixed high contrast style