keep merge.js DRY