Added mock to Ajax