Updated with nodejs console example and fix for nodejs applications.