Implemented ajax call in project