change search.js for terren's html
first gui version