Node.js code which may be useful.