Fixed output for typescript.
Downgraded java to 1.6
Merge pull request #14 from kinyelo/master

downgraded java. ts output fix