I suggest removing the `+ret` here. It's good, but the problem is that it means creating a new JS string each time we hit this line, which is allocation overhead and later GC pressure. (If this is hit, we would have to edit the source to add the value of `ret` to help debugging)