added javascript stack
added queue