Add JS of buttons in book.html