added exportInterface method to WebIDL interface