split onload, diffs previous and current image

instead of current and next.
(next image might not exist ...)
Removed TODO
using default /image/-filenames
Remove console.log