Town offers grants to help retain jobs