v2: Simpler WebIDL, fixed issues pointed out by Ms2ger