Convert JavaScript comments in log