fix js & work to change app/role selector for resource management