Changes to JS for admin/site menu