We might want to consider adding a second `apply` on `js.CallHelper`'s companion and remove this method. (Removing code in GenJSCode is always good...)
But this can be later.