changes to nodeshell.js