use .ready() for both charts on annotations.html