Invalid parameter value: callback=?
$(document).ready(function() {
...
$(function listBooks() {
});
});
$(document).ready() is the same as $(function() - so nesting one in side the other is not required - you only need the one as shown in my previous post.