jQuery addEventListener not working as intended
<p>I have the following code:</p>

<pre><code>$('.uiModalWrapper').live('click', function() {

                            var modal = $(this).find('.uiModal');

                            modal.addClass('shake');

                            modal.addEventListener('webkitAnimationEnd', function() {

                                modal.removeClass('shake');

                            });


                        });
</code></pre>

<p>Which should add a class called shake to an element when it's clicked and then remove it again when the webkitAnimationEnd event takes place. However it causes an error <code>Uncaught TypeError: Object [object Object] has no method 'addEventListener'</code></p>

<p>Any ideas on how to fix this? Thanks</p>
