merging two js