Simple avoider game in HTML5