Secure Battery in battery tray

My recommendation is to get the right battery for the application. When you bought a battery, you should have gotten one that was the right size.

In lieu of getting the proper battery, I recommend ratcheting straps designed to hold something that weighs as much as the battery in question. However, this is a hack solution for a hack problem. The only real solution is to get a battery that is the right size and use the stock hardware to secure it.