Update src/stack.js

renamed remove to shift