As RicoTV said, submit as early as you can, and update your game page with new version of your game as you go.
That way, if things go wrong, you don't need to stress as much, because you submitted "something" to the jam. (Even if it's not as good as you hoped it would be.)