modified books.js