The ripple rejection can be improved, by putting a fairly large capacitor across R2, say 10µF to 100µF.
Why is R1 a potentiometer? For fixed power supplies, it's better to just use the right resistor values. R1 = 1k5 and R2 = 4k3 will get 4.988V, which is within 0.24% and better than the NJM2397's tolerance. Even if you manage to adjust it to better than this, the voltage can still change by more than this due to the line and load regulation. If you're a volt nut than you could use E96 values: R1= 1k21 and R2 = 3k48, but it's overkill.