Fixed javascript bug that broke certain links in the HTML UI.