Cream margarine; gradually add brown sugar, beating at medium speed of an electric mixer until light and fluffy. Add egg and flavorings, beating well.
Combine flour and next 5 ingredients, mixing well. Add to creamed mixture alternately with apple juice, beginning and ending with flour mixture, mixing well after each addition.
Drop dough by heaping tablespoonfuls 2 inches apart onto cookie sheets coated with cooking spray. Press a raisin in center of each cookie. Bake at 325 degrees for 20 minutes. Cool slightly on cookie sheets. Remove to wire racks to cool completely.