Added book.js file under public/javascripts folder