Update index.html

update getImages() and sendImageTag() methods.