The references pages were having problems due to two-level linking and AJAX; I've now simplified the AJAX fragment output (bibls and refs both in the same folder now) and tweaked the JS so that if it tries to get a local ref but doesn't find it, it just uses AJAX instead. Also fixed an annoying empty link that was being created from an old artifact of the Cocoon site.