/resources/js/: fixed a few bugs with charts in BO