I think 就 here indicates the action of carrying the frog home happened right after the narrator captured it (捉了）。把 here is used for one version the "把 structure" （把 + Noun + Verb + Location ). So ( 把它们带回家）means after the narrator carried (带) the frogs （它们） back home (回家）。