They are actually doing the opposite of what you suggest.

The website is using Javascript to generate HTML inside the browser. The list of images is probably being supplied in JSON format by a PHP...