updated some modules for typescript 0.9

I have fixed a few modules to work with Typescritp 0.9