change font and add Table of Contents to JavaScript