Experimental Javascript game engine for learning purposes