xhr test code, not for production. test server npm install node server.js test page npm install -g serve serve # http://localhost:5000/