add some functions in `isType.js`

- add some functions in `isType.js` to check whether an object is an
element or a node object
- fixes a bug with `setArrowOptions`
- updated to version 0.3.2
- add some spaces