some improvements

changes:
* parsing of xml strings using jquery parseXML
* compatibility with [node-xml2js](https://github.com/Leonidas-from-XIV/node-xml2js)
* registered bower package
* tests runnable with [karma](http://karma-runner.github.io/)