Update Stack.js

clean up