enhance js mode console.log helper