updated name to balanced.js