massive update

javascript update:
method handlePDFDownload

tome contents update
css styling updates