On the chain algebra of a loop space