javascript for node info