A 2d game engine written in JavaScript