A 2D javascript game using the Crafty framework