API Generator: support JS on iOS