ajax is implemented in department section