Fix balanced.js guide syntax issues