I believe piracy is in the constitution as one of the federal crimes so I support efforts to fight it and apprehend such criminals under federal law (as long as its within internationally prescribed territorial waters).
Well, one could certainly make the argument that the Mediterranean and African Western waters were not under the control or territorial waters of the US, with ease.
How ever, what I posited was is if one of the pirates came here and inflicted harm on the American peoples as a whole, like what just happened, how do you think Jefferson would have reacted to it?