Make $#domManip patch jq2.0-compatible

This patch makes the inserted event compatible with both jquery `1.9.1` and `>2.0.0`.
The only relevant difference between the two versions is that `>2.0.0` expects `arguments[1]` to be the callback, instead of `arguments[2]`. The other arguments can be passed through normally.