function fetchBookInfo with jQuery