morphed $.css({}) calls to $.addClass()