Removes images and jquery script element