Transition-aware Class-Manipulation with jQuery/Zepto