Fixed #4589: Make actions extendable in JSB