JS backend: extract generateDelegateCall from DelegationTranslator into utils
JS backend: use utils.generateDelegateCall for bridge methods in ClassTranslator