Bugfix in Node.js

Wrong function call:  type.getChildren[i]
Added () to getChildren
Merge pull request #1 from cmdelatorre/patch-1

Bugfix in Node.js