Those are expectations expressed on generated structure, am I right?

What about using contextual selector, e.g.:
$('#chart .yaxieslabel') or $('.yaxislabel', element)