Changes for being able to retrieve html from an URL instead of a file