I had an old tc3 foam front bumper laying around when I milled my chassis and I just used that and some servo tape to keep my battaries from sliding around. Works great and I've had no problems so far. If you really want to use glue, you can use shoe goo. That stuff works for everything
.