Common JS API generator fix: properties with no name should be skipped