Found a final organisation of data and header. But images are not shown (yet) and javascript doesn’t swap with header (yet)…
Making it work: both javascript and image data
Improving header