Fixed extra closing tag img
Created function for clearing content of any dom element
Added clearing search result before showing new one