Update XMLWriter.js
Merge pull request #3 from koppor/master

Add npm's package.json
Merge pull request #4 from koppor/master

Fixes JavaScript syntax error
Merge remote-tracking branch 'remotes/mandeepd/master'
Adds support for writing predefined XML elements