Re-adds counter to Kinetic.js version