The ban on retroactive law is to stop the criminal prosecution, criminal not civil, of someone whose action was not criminal at the time of commission. The Justice Against Sponsors of Terrorism Act is strictly a civil action, not criminal, and does not meet the legal definition of "retroactive law" as practiced the US.