Got rid of RequireJS
worked around missing bootstrap.css.map
calculates both
refactored pie chart
switching tabs works
bootstrap tabs