Update main.js

added nodevers endpoint