more javascript - the game works :)