oldskool fire effect. javascript 2d canvas and pixel manipulation