Update knockout.d.ts for TypeScript 0.9
Update jasmine.d.ts for TypeScript 0.9
add constraints of game end.