node.js API for betterservers