remove_fleet action, js refactoring