search fitted with better js