Changed search ajax call to an http get