Updated Away3d lib ( to work with TypeScript 1.0 )