Haxe/Javascript three.js type definitions