Minor changes to tab rendering

The main change here is that the our HTML renders without JavaScript, with tabs.js enhancing the rendered page.

Added a few comments ;-)
Removed old template