Add WeakMap entry to karma server

Reorder list