Functions for calling node.java