Updated Publications UI. Fixed a number of JS bugs.