clean js logging (especially during init process)