Updated binarize.js for kinetic 4.5.1