A (animated) PNG decoder in JavaScript for the HTML5 canvas element and Node.js