A New Jersey woman accused of impersonating her boyfriend on a fake Facebook page and posting inflammatory comments can stay out of jail.

A judge in Morristown on Monday accepted Dana Thornton into a pre-trial intervention program. The Daily Record of Parsippany reports the 41-year-old will be supervised on probation for a year, must perform 50 hours of community service and submit to a psychological evaluation.

Thornton did not admit to the charge of identity theft. The crime is punishable by up to 18 months in jail.

Thornton allegedly posted comments that characterized her ex-boyfriend, a narcotics detective, as a drug abuser who frequented prostitutes.

(Copyright 2012 by The Associated Press. All Rights Reserved.)