Removed 3rd argument of document.implementation.createDocument for iOS