client messages fix, DEBUG js logging