check for isbn before ajax