I have always used dark brown sugar as substitute for molasses. I just keep adding the brown sugar and then tasting after each addition to make sure it isn't to sweet. When I make baked beans, I drain all the juice off the beans and reserve before putting them in the pot. Then if the beans need more liquid, I will add some of the juice back into the beans.