Update to TypeScript 1.3

Update to TypeScript 1.3
Fix --noImplicitAny errors
The problem is that these interfaces are not indexable. We have to cast to any, so that the compiler agrees to index the variable.