Yeah, you should be able to do this in CSS rather than a bunch of JS. The `.even` selector might be a bit faster, but unless you can demonstrate a significant performance difference I don't think it's worth it.