I am looking to create a unique div with a random background color and a width of 100px. Additionally, I want to have a button that, when clicked, will split the original div into two equal parts, each with its own random background color. With each subsequent click of the button, the number of splits will increase by one, creating more new divs within the original 100px width. How can this functionality be achieved using JavaScript?