implement really basic clear function with js
add basic clear search function with js