javascript: console-log-require