.delegate matches jquery behavior