title: Optimize SVG game
body: <p>I have created my first SVG game, using <a href="http://raphaeljs.com/" rel="nofollow">Raphaël.js</a>.</p>
  
  <p>In Chrome the game feels fast, but in other browser like IE (understandable since it's using VML), Firefox, iPad safari and others, it feels slow at times.</p>
  
  <p>I'm looking for some tips on how I can optimize my code to squeeze out the absolute best performance. I've tried the best I can to optimize it myself, but I'm just a JS beginner. Also feel free to mention if should be using any recommended best practices I'm not using. Where is it probable that the bottleneck is?</p>
  
  <p>You can see the code and try the game on <a href="http://jsfiddle.net/mofle/zgYRC/3/" rel="nofollow">jsfiddle</a>.</p>