The method used to find the type of document (book/booksection) has been changed to use the <meta> element of the DOM.