Use WebIDL JS Constructor syntax.