First commit of balancer.js script

The balancer.js script is used to split and move chunks. Rather than explain
everything in this comment, I'll create a README.