Update for Typescript 0.9.5

This program is very helpful. I added some minor updates.