Add some minor ES6 shims and run the REPL in global mode so that shims work correctly.