Creates the global objects variables that serves as the initial state managed by the shell.
function createGlobals(shell) {
  var globals = {
    Buffer: Buffer,
    console: console,
    clearImmediate: clearImmediate,
    clearInterval: clearInterval,
    clearTimeout: clearTimeout,
    setImmediate: setImmediate,
    setInterval: setInterval,
    setTimeout: setTimeout,
    _: ijsrt
  };

  globals.global = globals;

  return globals;
}