modified jq plugin stuying