MModified shift function in interpreter.js to save the most recent node that was popped off of state stack