added a patch to admin menu to fix JS error