Update Stack.js

cleaned up