When you use [] to access an element in a jQuery array, you get a DOM element, not a jQuery object, so it has no jQuery methods.
Try .eq() instead:
var second_tier = ul_tiers.eq(0); second_tier.css({ ... });
(Note that I changed the spelling of โlevelโ in the variable name. Sorry, I canโt help myself.)
source share