new factoring of image load and changing via .replaceWith