Example 2 - Dynamic Picture Captions with JavaScript