$(document).ready(function(){
  $("#book-fields").hide();

  $("#show").click(function(){
    $("#book-fields").show();
  });
});

$(function() {
  $("#book-fields").hide();

  $("#show").click(function(){
    $("#book-fields").show();
  });
});

Refactor redundancy in book fields function
Refactor redundancy in book fields function
