Lightweight 2D game engine written in Javascript