Tiny bugfix to management page JS