Adding window.close in order to prevent memory leak from jsdom
Testing Cheerio support instead of jsdom
Removing jsdom from project dependencies
Code cleanning