Insert a node into the stack
Add jsdoc