nodejs server with merge