Don't worry it happens to everyone literally! The only thing you can do is finish it as best as possible, submit it, and learn from your mistakes. Don't beat yourself up; there will be other jams and other great ideas. This is just part of the learning process, and you'll be better for it tomorrow :)