add a $el.has method, fix attr/html delegations