[TASK] Reduce inline JavaScript for refreshing backend components