Cosmos2D is my JavaScript game engine prototype. Its objective is modularity, reusability and readability.