removing unwanted strings in tenant_management.js