Refactor out the need for the getProgram-method
Add node.js example