added empty scan method to search.js