Fixing imports
Fixing use of deprecated API in HtmlUnit
Fixing use of deprecated API in guava
Fixing use of deprecated API in httpclient
Adding more checks for JS functions removed from IE11. Fixes issue 7803