ations
        // persisted can cause a memory leak
        //anim.persist()

        // onremove allows you to run an event handler that fires when the animation
        // was removed (i.e. put into an active replace state)
        anim.onremove = function() {
          console.log('Animation removed');
        }

        // replaceState allows you to query an element to see what its replace state is
        // It will be active by default, or persisted if persist() was invoked
        console.log(anim.re