merge LeafJS