stacked_bar calling js