JS backend: fix stable mangling for extension functions and properties