Minor change to javascript for Department Management.