Update stack.js