Add WeakMap to karma server

Reorder list