According to the docs, instance method `.delegate`'s argument `data` is optional, but the truth is `data` is required. this PR just fixed it.
And some slight modification for `for` loop execution efficiency.
Merge pull request #501 from swaydeng/delegate_argument_opt

Fixed $().delegate to make the argument data optional