Moved image placeholder from HTML to JS