Handle clocks on JavaScript
Record some events for future use
Dequeue an Array