Fix admin handler for node.js

Refs #3160