add function wrapper for jq loading