Updated AwayJS with latest changes from Awayjs-core ( to work with TypeScript 1.0 )