Changed search.html.erb such that the jquery logic is maintained. Added a Clear Plot button.