separate html and js

also clean up html
use ordinal scale and stack bars up
make transition work
handle unestimated stories