Port of osgjs in Dartlang