New dependency jsdom. Cleaning code, only runs on KML at the moment.
Spaces to Tabs fixed tests.