final hackathon commit ;o;
Refactor the books/show route

Trying to build the JS correctly instead of sticking it all in a script
tag in the view. Using data-attributes on HTML tags to pass variables from the
backend to the frontend, and using data-remote: true for the next / previous
buttons. Not working yet; currently PDFJS.getDocument is returning undefined.