Error on bar demo should import min.js