Adding npm module and using it

As a last resort if you want to install atob from npm then it should work (it did for me) if you correct the missing quote in the require line in settings.js:

functionGlobalContext: {
atob: require('atob')
}