Update for compatibility

queue is already a used class in jQuery. Updated classes: queue->fifo
and stack->lifo