Push table of contents to stable

Add browser tests.
Use config value rather than class name to be more future proof.

Change-Id: Id565f633094077aeb3fc15fa1c60ef9dc927bc82