rm PDF version; add toc javascript