Loading the webpage is working, but the Document doesn't execute the scripts