migration of book.js