A truck carrying hazardous materials exploded in New Jersey.