merging js