Fix commenting on image and LI elements.

This fixes comments on images and LIs. As well as makes sure the user see their comment without a hard reload.