A 2d top-down game built in javascript using the Crafty game engine