extend debounce

debounce timer in search.js is too short leading to unwanted requests and also affecting the toggle condition for the spinner canvas where browser spits out DOM exception error 8. So extended timer from 100 to 300 ms and instead of appending and removing the spinner each time just toggled the style.