Major javascript update: Queues curves are now being set dynamically.
Now the javacript part is a little bit less disgusting than before.