use _.extend on options in toc.add() method