Flatten ajax work titles