Added an eventQueue to the JS file. This fixes out of order setTimeout calls that occur in Safari.
Authored by: jaroberts 2007-10-14
Parent: [r587]
Child: [r589]