Modified javascript

….to enable placement of caption anywhere on the slide.  Each slide can
be configured separately