I wouldn't use anything like foam, as it could cause a fire hazard. There is some tape called Gorilla Tape that is really good.