updatet search.js
added editor