couple minor fixes

- the reply from i3 can be an array (with > 1 entries) or an object.
- fixed typo and missing argument on index.js
Merge pull request #4 from unmanifest/master

couple minor fixes