Can you cache $(CookieMonster.tooltipLastObjectId + 'note_div_warning') as $elem1, same for $elem2 so the selectors are cached ?