local images and clean dom to complete version 1