sample book data passing in, function executes when DOM is ready
commented out dummy data in index.html