chang jq to origin js