         true
       else
         false
+    else
+      book.tags = []
+      book.fiction = false
 
   React.renderComponent(BookApp(), document.getElementsByTagName("body")[0])
 

    @props.book isnt nextProps.book or @props.showFiction isnt nextProps.showFiction or @props.showAvailability isnt nextProps.showAvailability

  render: ->
    { vpl_id, title, vpl_url, author, availability, available, availability_url, holds, vpl_rating, isbn, img, goodreads_id, goodreads_url, goodreads_rating, amazon_url, amazon_rating, goodreads_categories, description, fiction } = @props.book

    React.DOM.li className: "book-item",
      React.DOM.div className: "cover",

    book.description = book.description.replace(/&?nbsp;?/g, " ") if book.description

    if categories = book.goodreads_categories
      book.tags = (c for c in categories when !(c in FILTER_OUT_TAGS))
      book.fiction = if "non-fiction" in categories or "nonfiction" in categories
        false
      else if "fiction" in categories or "mystery" in categories or "fantasy" in categories
