update js for accounts#index view