• script: Fix integer-JSID handling in named getters.

    Fixes #10686
    emilio committed Sep 18, 2017