Support rest arguments of jQuery event handler