js changed for admin