A little 2D engine written in Javascript