Update src/stack.js