Send two pieces of data when making an ajax call