getRoot() instead of Root()
Merge pull request #12 from nicola/patch-1

getRoot() instead of Root()
declare var and add unsolicted event so tests pass