Revert "Revert "Very simple ajaxification of the tabs""

This reverts commit 6fd1a5711fc8a7f97cb27b550e895b9b71fdc60f.
Another stab at ajaxifying the view point tabs

See bfefc5bb9b for more info. The second try is because some but not all
JavaScript needs to be re-run when the page gets replaced.