added ajax to directory search