Started refactoring for tests
Merge branch 'master' of github.com:BoyCook/XSLTJS
Added some refactor TODOs