Just add a teaspoon or two of agar. Also, you could cook the jam for longer, till more water evaporates.