Removed unused ajax call function