remove ajax from search methods
rewrite ajax rating and search methods