Convert JavaScript comments in logs, warnings or errors