Added ability to peek for stack.js