Surface.prototype._smooth = function() {
this.context.mozImageSmoothingEnabled = true;
this.context.webkitImageSmoothingEnabled = true;
};
CanvasRenderingContext2D.webkitImageSmoothingEnabled' is deprecated. Please use 'CanvasRenderingContext2D.imageSmoothingEnabled' instead.