Fix for losing strings in JS LogEvent call