fix union js