Replace jquery usage by domify/classes

I wasn’t able to use component/dom, I’ve fixed that separately, maybe I will migrate this to `dom` later.