fixed getDocumentAndModifyElements(String url)