Scripts work with browser. Next, get it to work with NodeJS