fix attribute order for OnJqueryFunction