Couldn't get it to work through the console, but I changed the code of the downloaded HTML and it fixed the issue. Thanks