update stack.js

`push/pop` maybe a better choice.