Sorry, I missed those things when I was altering the syntax for the post. My syntax was correct in my app. I am using node.js and Electron, which means it’s technically in a browser but I can do the same things that node.js can (like require, no browser security/CORS protection, etc).