Simplified the Web IDL to match DOM sepc.