radial.js updated with merge function