Newadmin js file