Added first working version of number_sections.js. The code is *very* inelegant and difficult to extend past sections and subsections. It should be easy to clean up by somebody who knows javascript