Images show their respective captions with JS