jQuery Plugin for managing CSS animation and transition states