Caption support

Add caption div in /home/, and add js code to update captions as well
as remove the caption div if no caption text.