Fix for TypeScript 1.0
Merge pull request #18 from syohex/fix-typescript

Fix for TypeScript 1.0