anchor.diff:  		speed = map['speed'];
   
   		List<int> frameList = [];
  -		for(int i=0; i<map['numFrames']; i++)
  +		for(int i = 0; i < map['numFrames']; i++)
   			frameList.add(i);
   
  -		animation = new Animation(map['url'],"npc",map['numRows'],map['numColumns'],frameList, loopDelay: new Duration(milliseconds:map['loopDelay']), loops: map['loops']);
  -		animation.load().then((_)
  -		{
  +		animation = new Animation(map['url'], "npc", map['numRows'], map['numColumns'], frameList, loopDelay: new Duration(milliseconds:map['loopDelay']), loops: map['loops']);
  +		animation.load().then((_) {
   			top = currentStreet.bounds.height - num.parse(map['y'].toString()) - animation.height;
   			left = num.parse(map['x'].toString());
   			width = map['width'];
  
positive.code: 			//source: http://jsperf.com/ctx-clearrect-vs-canvas-width-canvas-width/6
  			canvas.context2D.clearRect(0, 0, animation.width, animation.height);
  
  			if(glow)
              {
              	canvas.context2D.shadowColor = "rgba(0, 0, 255, 0.2)";
               	canvas.context2D.shadowBlur = 20;
               	canvas.context2D.shadowOffsetX = 0;
               	canvas.context2D.shadowOffsetY = -5;
              }
              else
              {
              	canvas.context2D.shadowColor = "0";
              	canvas.context2D.shadowBlur = 0;
              	canvas.context2D.shadowOffsetX = 0;
              	canvas.context2D.shadowOffsetY = 0;
              }
  
      		canvas.context2D.drawImageToRect(animation.spritesheet, destRect, sourceRect: animation.sourceRect);
      		animation.dirty = false;
  		}
  	}
  }
negative.code: 				canvas.style.transform = "translateX(${left}px) translateY(${top}px) scale3d(-1,1,1)";
  		}
  
  		if(intersect(camera.visibleRect, entityRect))
  			animation.updateSourceRect(dt);
  	}
  
  	render() {
  		if(ready && (animation.dirty || dirty)) {
  			if(!firstRender) {
  				//if the entity is not visible, don't render it
  				if(!intersect(camera.visibleRect, entityRect))
  					return;
  			}
  
  