A javascript game engine with support to 2D