JS backend: refactor.
-rename InitializerUtils.generate to generateObjectInitializer
JS backend: test fix NameGenerator