Don't print to stdout
When a tab is selected, change the fragment id

And when a page is visited, active the tab identified by the fragment
id.  This allows linking to a specific tab.

Fixes #93.
After editing a project/jobset, redirect back to the config tab
Move common Javascript code into a separate file