Books.js code fix