Move base64 images to end of body so the html is easier to maintain