fixed the pixel demo, added chain timer in utility.js