this.ownerDocument.createElement('polymer-xhr');
didn't work in JS

this._xhr = new Element.tag('polymer-xhr');
works

some code format fixes
fixes #78, closes #78