Updated hover plugin to avoid binding empty fct
Fix hasClass function