Added JS logic for delete search field icon.