Cleaned up bstack_server.js