Added image to post sucessfully
Java script change