Don't trigger event for hidden elements

also fixed qUnit CDN refs and added test case