Fixed undefined variable when destroying carousel.

Whenever I manually call trigger('destroy.owl.carousel') an undefined variable error occurs.