Enhance docs with buttons (tabs, really). Add JavaScript to docs.