A little game engine in javascript, for study purpose