That version with models is entire written on javascript... yeah... javascript...
Is a prototype of a "game engine" with a IDE, that you code the game using javascript... I drop the development of the engine...
The game itself is like this... and supports GLScene/UnDelphiX
Code:
var MainForm;
function main() {
 MainForm = new TGameMainForm(Application);
 MainForm.SetResolution(800, 600);
 MainForm.FramesPerSecond = 40;
 MainForm.AddState('Default', null, DefaultRun, null);
 MainForm.StartGame('Default');
}

function DefaultRun(State) {
 var InputState = MainForm.Input.States([]);
 if InputState[isButton1] {
  MainForm.EndGame();
 }
}
The real trouble, is that script engine are too slow to be fully embebbed this way... so I stop this and start using only the pure Delphi...