New Jersey ranks No. 12 among states with the most A-ratings from Leapfrog, a hospital safety watchdog that assigns letter grades to 3,000 facilities nationwide based on 30 measures of patient safety.