added pretty index page, added export.js to the docs