Added JS message queue.